﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KCLIMTrading.Mgmt
{
	/// <summary>
	/// TODO: Customer class and logic.
	/// </summary>
	public class Customer
	{
		#region Variable
		private String name;
		private String email;
		private String address;
		private int code;
		#endregion

		#region Properties
		public String Name { get { return this.name; } set { this.name = value; } }
		public String Email { get { return this.email; } set { this.email = value; } }
		public String Address { get { return this.address; } set { this.address = value; } }
		public int Code { get { return this.code; } set { this.code = value; } }
		#endregion

		/// <summary>
		/// Default contructor.
		/// </summary>
		public Customer()
		{
			this.code = 0;
			this.name = string.Empty;
			this.email = string.Empty;
			this.address = string.Empty;
		}
		/// <summary>
		/// Override ToString() display value.
		/// </summary>
		/// <returns></returns>
		public override string ToString()
		{
			return this.code+": "+this.name;
		}
	}
}
